package edu.bit.water.dao;

import java.util.ArrayList;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Repository;

import edu.bit.water.entity.LabelWaterBalaInfo;

@Mapper
@Repository
public interface LabelWaterBalaDao {
	
	int insertLabelWaterBala(LabelWaterBalaInfo labelWaterBala) throws DuplicateKeyException;
	int deleteLabelWaterBala(int id);
	ArrayList<LabelWaterBalaInfo> queryLabelWaterBala();
	int updateLabelWaterBala(LabelWaterBalaInfo labelWaterBala);
	LabelWaterBalaInfo queryLabelWaterBalaByName(String company_name);
	

}
